package com.jumper.study.front.websocket.dto;

public class MessageDto {
    private MessageType type;

    private Long lessonId;

    private Long chapterId;

    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }

    public Long getLessonId() {
        return lessonId;
    }

    public void setLessonId(Long lessonId) {
        this.lessonId = lessonId;
    }

    public Long getChapterId() {
        return chapterId;
    }

    public void setChapterId(Long chapterId) {
        this.chapterId = chapterId;
    }

    @Override
    public String toString() {
        return "MessageDto [type=" + type + ", lessonId=" + lessonId + ", chapterId=" + chapterId + "]";
    }
}
